/*	******************************************
	File:		faceThread.h
	Author:		Adnan Srna, Peter Kober, Ivo Havranek
	Purpose:	AugmentedReality 2
	(up)Date:	March/April 2010
	Descr.:		extended class of ofxThread for the
				implementation of the threading for
				faceTracking
	Origin:		Salzburg University of Applied Science
	******************************************	*/

#pragma once
#include "ofMain.h"
#include "ofxThread.h"
#include "HaarTracker.h"

class faceThread: public ofxThread{
	public:
		faceThread();
		~faceThread();
	
		void threadedFunction();
		void start();
		void stop();
		void draw();

		CHaar	faceTool;
		bool	finishedIteration;
};
